main {
  padding-bottom: 0;
}

ul li:before {
  all: unset;
}

header.header {
  min-height: 9rem;
  /* padding-right: 3rem; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Rubik, sans-serif;
}

header ul li,
header ol li {
  padding: unset;
}

#nav-download-button {
  display: flex;
  background-color: var(--pitchBlack);
  align-items: center;
  text-align: center;
  font-size: 1.8rem;
  line-height: 5rem;
  height: 5rem;
  padding: 0 3.8rem;
  border: none;
  border-radius: 5.4rem;
  color: var(--consoleWhite);
  transition: 0.25s all ease;
  appearance: none;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  transition: 125ms color ease, 125ms background-color ease,
    125ms box-shadow ease;
  text-decoration: none;
}

#nav-download-button:hover {
  background-color: var(--consoleWhite);
  color: var(--pitchBlack);
}

#button-hamburger {
  z-index: 2;
  transition: display 500ms ease-in-out;
  color: var(--consoleWhite);
  height: 3rem;
}

#nav-wrapper {
  transform: translateX(0);
  position: fixed;
  left: 100%;
  right: 0;
  top: 0;
  width: 42rem;
  max-width: 80vw;
  height: 100vh;
  padding: 3rem;
  background-color: #ffffff;
  overflow: auto;
  transition: transform 500ms ease-in-out;
  z-index: 2;
}

.nav-link {
  position: relative;
  font-size: 1.8rem;
  line-height: 2.2rem;
  color: var(--pitchBlack);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-button {
  font-size: 1.8rem;
  line-height: 2.2rem;
  color: var(--pitchBlack);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-item-with-dropdown {
  position: relative;
}

.nav-dropdown::after {
  box-sizing: border-box;
  content: "";
  margin-left: 0.7rem;
  margin-top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  border: 0.6rem solid transparent;
  border-top-color: currentcolor;
}

.sub-nav {
  display: grid;
  grid-auto-flow: row;
  text-align: left;
  height: auto;
  max-height: 0;
  opacity: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height 250ms ease-in-out;
}

.sub-nav-item:hover {
  color: var(--brand500);
}

.sub-nav-header {
  color: var(--rhyhorn);
  font-size: 1.2rem;
  line-height: 2.2rem;
  padding: 0.6rem 2rem 0;
  text-transform: uppercase;
}

.sub-nav-item:first-child {
  margin-top: 3rem;
}

.sub-nav-link {
  display: block;
  white-space: nowrap;
  font-size: 1.8rem;
  line-height: 2.2rem;
  padding: 0.6rem 2rem;
  color: var(--pitchBlack);
  transition: color 0.25s ease;
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.nav-item-with-dropdown {
  position: relative;
  cursor: pointer;
}

.menu-button {
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 3rem;
  right: 3rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  z-index: 2;
  display: flex;
}

#button-hamb .menu-button:hover,
button.menu-button:hover,
button.menu-button:active,
button.menu-button:focus {
  background-color: transparent !important;
  color: var(--pitchBlack) !important;
}

.parsec-logo {
  height: 3rem;

  z-index: 2;
  margin: 3rem;
  /* position: absolute; */
  /* top: 3rem; */
  /* left: 3rem; */
}

.svg-span {
  display: inline-block;
}

.svg-span svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
}

.nav-ul {
  list-style: none;
  display: grid;
  grid-auto-flow: row;
  justify-items: start;
  row-gap: 3rem;
  padding: 0;
}

@media screen and (min-width: 640px) {
  .menu-button {
    right: 5rem;
  }
}

@media screen and (min-width: 960px) {
  #nav-download-button {
    display: flex;
    background-color: transparent;
    align-items: center;
    text-align: center;

    padding: 1.8rem 5rem 1.9rem;
    border: none;
    border-radius: 5.4rem;
    color: var(--consoleWhite);
    box-shadow: inset 0 0 0 0.2rem currentColor;
    transition: 0.25s all ease;
    appearance: none;
    cursor: pointer;
  }

  .no-header {
    margin-top: 0 !important;
  }

  .nav-link {
    color: var(--consoleWhite);
  }

  .nav-button {
    color: var(--consoleWhite);
  }

  .nav-item-with-dropdown {
    color: var(--consoleWhite);
  }
  /* This does main nav hover */

  .nav-item-with-dropdown:hover .sub-nav {
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
    color: var(--brand500) !important;
    max-height: 35rem !important;
  }

  .parsec-logo {
    position: relative;
    display: block;
    /* margin: 3rem 0; */
    top: 0;
  }

  .nav-link {
    padding: 3rem 0;
  }

  .menu-button {
    display: none;
  }

  .nav-ul {
    grid-auto-flow: column;
    column-gap: 2rem;
    align-items: center;
    transition: column-gap 125ms ease-in-out;
  }

  #nav-wrapper {
    left: initial;
    overflow: visible;
    transform: none;
    position: relative;
    width: auto;
    height: auto;
    padding: 0;
    padding-right: 3rem;
    background-color: transparent;
  }

  .sub-nav-link:hover {
    color: var(--brand500);
  }

  .sub-nav:hover {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    max-height: none;
  }

  .sub-nav div:hover > {
    opacity: 1;
    max-height: none;
  }

  .sub-nav li:hover > {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    max-height: none;
  }

  .multi {
    grid-template-columns: repeat(3, 30%);
    margin-left: -15rem;
  }

  .sub-nav {
    position: absolute;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.3);
    transform: translateY(-1.6rem);
    pointer-events: none;
    background-color: var(--consoleWhite);
    border-radius: 0.4rem;
    transition: transform 250ms ease-out, opacity 250ms ease;
    margin-top: -1.2rem;
    padding: 1rem 0;
  }
}

@media screen and (min-width: 1280px) {
  #nav-download-button:hover {
    background-color: var(--consoleWhite);
    color: var(--pitchBlack);
  }

  .nav-ul {
    column-gap: 4rem;
  }
}
@media screen and (min-width: 1600px) {
}
